package edu.visualizetion.info.sensorcollection;

import java.rmi.Remote;
import java.rmi.RemoteException;

import org.hyperic.sigar.SigarException;

/**
 * 定义可以调用的服务接口
 * 
 * @author liukun
 *
 */
public interface IService extends Remote {

	/**
	 * 返回当前系统状态
	 * 
	 * @return
	 * @throws RemoteException
	 * @throws SigarException 
	 */
	Record getStatus() throws RemoteException, SigarException;
	
	String getServiceName() throws RemoteException;

}
